package com.dz51.core.log4j;

import org.apache.log4j.Logger;

/**
 * @Title: Log4jLoggerFactory.java
 * @Package com.dz51.core.log4j
 * @Description: log4j工厂 暂支持 Logger
 * @author Zhaoqt
 * @date 2014-5-4 上午2:53:24
 * @version V1.0
 */
public class Log4jLoggerFactory {

	private static Log4jLoggerFactory SINGLETON = null;

	public static Log4jLoggerFactory getInstance() {
		if (null == SINGLETON) {
			synchronized (Log4jLoggerFactory.class) {
				if (null == SINGLETON) {
					SINGLETON = new Log4jLoggerFactory();
				}
			}
		}
		return SINGLETON;
	}

	public static Logger getLog4jLogger() {
		return Logger.getLogger("baseframe");
	}
}
